﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XF.Meeting.Entity.CommonEntity.wx;

namespace XF.Meeting.IDal
{
    public interface IBPMDal
    {
        Task<bool> CreateResult(string strBTID, string strBOID, int iProcInstID, string bSuccess, string procURL, string strMessage);
        Task<bool> Audit(string strBTID, string strBOID, int iProcInstID, string strStepName, string strApproverId, string eAction, string strComment, System.DateTime dtTime,int meetState,int summayState);
        Task<bool> ApproveClose(string strBTID, string strBOID, int iProcInstID, string eProcessInstanceResult, string strComment, DateTime dtTime,int meetstate,int summarystate);
        Task<bool> UpdateBusinessData(string strBTID, string strBOID, int iProcInstID, string strStepName, string strApproverId, string strXML, System.DateTime dtTime);
        Task<bool> WriteBusinessDataToBPM(string bsid, string btid, string boid, string bsxml, string procInstID, string userid,string processUrl, int proType,int id);
        Task<bool> DoInvalid(string bsid, string btid, string boid, string procInstID, string userid, string invalidComment);
        Task<DataSet> GetBPMCONFIG(int cInfoId, int type, out string strError);
        Task<DataTable> GetWXCONFIG(out string strError);
        Task<DataTable> GetCInfoByID(int cInfoId);
        Task<DataTable> GetCInfoByMinutesID(int cInfoId);
    }
}
